package com.wyl.niupi.yxc.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;

/**
 * @author 无名氏 on 2020/12/04 10:06
 */
@Data
@Schema(name = "YxcGoodsType", description = "测试")
public class YxcGoodsType implements Serializable {

    @TableId(value = "lid")
    private Integer lid;    
    private String name;    
    private String code;    
    private Integer plid;    
    private Integer sort;    
    private Integer haschild;    
    private Integer deep;    
    private Integer isDelete;

    public static final String LID = "lid";
    public static final String NAME = "name";
    public static final String CODE = "code";
    public static final String PLID = "plid";
    public static final String SORT = "sort";
    public static final String HASCHILD = "haschild";
    public static final String DEEP = "deep";
    public static final String IS_DELETE = "isDelete";

    @Schema(description = "", example = "", required = false)
    public Integer getLid(){
        return lid;
    }
    @Schema(description = "类别名称", example = "", required = false)
    public String getName(){
        return name;
    }
    @Schema(description = "", example = "", required = false)
    public String getCode(){
        return code;
    }
    @Schema(description = "没有则为-1", example = "", required = false)
    public Integer getPlid(){
        return plid;
    }
    @Schema(description = "", example = "", required = false)
    public Integer getSort(){
        return sort;
    }
    @Schema(description = "0否1是", example = "", required = false)
    public Integer getHaschild(){
        return haschild;
    }
    @Schema(description = "从1开始", example = "", required = false)
    public Integer getDeep(){
        return deep;
    }
    @Schema(description = "0否1是", example = "", required = false)
    public Integer getIsDelete(){
        return isDelete;
    }
}
